package com.scpii.api.domain.ec;

import java.util.Date;

import org.codehaus.jackson.annotate.JsonIgnore;

import com.scpii.api.common.base.FilterEntity;

public class ShoppingCar extends FilterEntity {
	private static final long serialVersionUID = 1L;

	private Long shoppingCarId;
	@JsonIgnore
    private Long userId;

    @JsonIgnore
    private Date createDt;
    @JsonIgnore
    private String createBy;
    @JsonIgnore
    private Date updateDt;
    @JsonIgnore
    private String updateBy;

    private Long appId;
    
    private Integer quantity;

    private String note;
    
    private Product product;

	public Long getShoppingCarId() {
		return shoppingCarId;
	}

	public void setShoppingCarId(Long shoppingCarId) {
		this.shoppingCarId = shoppingCarId;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Date getCreateDt() {
        return createDt;
    }

    public void setCreateDt(Date createDt) {
        this.createDt = createDt;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy == null ? null : createBy.trim();
    }

    public Date getUpdateDt() {
        return updateDt;
    }

    public void setUpdateDt(Date updateDt) {
        this.updateDt = updateDt;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy == null ? null : updateBy.trim();
    }

	public Product getProduct() {
		return product;
	}

	public void setProduct(Product product) {
		this.product = product;
	}

	public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }


    public Long getAppId() {
		return appId;
	}

	public void setAppId(Long appId) {
		this.appId = appId;
	}

	public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note == null ? null : note.trim();
    }

	@Override
	public String toString() {
		return "ShoppingCar [shoppingCarId=" + shoppingCarId + ", userId=" + userId + ", createDt=" + createDt
				+ ", createBy=" + createBy + ", updateDt=" + updateDt + ", updateBy=" + updateBy + ", product="
				+ product + ", quantity=" + quantity + ", appId=" + appId + ", note=" + note + "]";
	}
    
    
}